feat: add Shopify Vite React TypeScript starter template#88
feat: add Shopify Vite React TypeScript starter template#88tizmagik wants to merge 3 commits intostackblitz:mainfrom
Conversation
- Added essential project files including package.json, vite.config.ts, and Tailwind CSS configuration. - Implemented core components such as Header, CartDrawer, and ProductCard. - Established context for cart management and integrated Shopify API queries. - Created pages for Home, Categories, and About with routing support. - Included ESLint and PostCSS configurations for code quality and styling. - Set up a basic .gitignore file to exclude unnecessary files.
There was a problem hiding this comment.
Let's remove the comments from this file too.
There was a problem hiding this comment.
This component is quite large already and it'd be nice for the starter if this was already a bit more modular so the edits are faster and cheaper.
There was a problem hiding this comment.
Let's remove comments from this file.
d3lm
left a comment
There was a problem hiding this comment.
Left some minor comments. What stands out is that there are quite a few larger files and it'd be nice if we can modularize this a bit more. We are working on improving edits in Bolt but it'd be best if the files were smaller I'd say.
Thanks @d3lm -- I've made some updates. Let me know if you have more thoughts or suggestions for further improvements |
- Refactored App component to utilize new ProductDetails, ProductImageGallery, and Header components for improved structure and readability. - Introduced QuantitySelector for managing product quantities. - Added loading, error, and empty state components for better user experience. - Updated CartContext to support addProductToCart and buyNow functionalities. - Improved .gitignore to exclude unnecessary editor files.
a13f1fd to
11be89c
Compare
👀 Would love some feedback on the
.bolt/promptespeciallyExample deployment: https://gilded-boba-7d74ef.netlify.app/